<titlemenu></titlemenu>
<div class="dj-card">
    <div class="dj-body" activate-input activate-select>
        <form  role="form" novalidate
               name="editForm" >
            <div class="dj-formtable">
                <table class="dj-table">
                    <tr>
                        <th>所在组织</th>
                        <td>
                           {{dataModel.dzzmc}}
                        </td>
                        <th>人员</th>
                        <td >
                           {{dataModel.username}}
                        </td>
                    </tr>
                </table>
            </div>
            <div class="table-responsive list-table-panel">
                <div class="list-table-title">
                    <div class="table-title">
                        帮扶记录
                    </div>
                    <div class="table-tool">
                    </div>
                </div>
                <table class="table table-bordered">
                    <thead>
                    <tr>
                        <th class="text-center" style="width: 100px;">序号</th>
                        <th>帮扶时间</th>
                        <th>慰问金额（元）</th>
                        <th>帮扶形式</th>
                        <th>帮扶内容</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="it in recordList|orderBy:'CAREDATE':'desc'">
                        <td scope="row" class="text-center">{{$index+1}}</td>
                        <td class="text-center">
                            {{it.caredate|date:'yyyy-MM-dd'}}
                        </td>
                        <td class="text-center">
                            {{it.amount}}
                        </td>
                        <td class="text-center">
                            {{it.helpformtypename}}
                        </td>
                        <td class="text-center">
                            {{it.carecontent}}
                        </td>
                        <td class="text-center" style="width: 200px;">
                            <button class="btn td-btn bg-pink waves-effect"
                                    ng-click="showRecord(it)" title="查看">
                                查看
                            </button>
                        </td>
                    </tr>
                    <tr ng-if="recordList.length<=0">
                        <td colspan="6" style="text-align:center">暂无数据</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="form_foot">
                <button type="button" class="btn btn-default" ng-click="pagechange();">关闭</button>
            </div>
        </form>
    </div>
</div>